package com.fwmagic.spi;

/**
 * @description:
 * @author: fangw
 * @Date: 2023/2/6
 **/
public class UserService {
    private UserProperties userProperties;

    public UserService() {
    }

    public UserService(UserProperties userProperties) {
        this.userProperties = userProperties;
    }

    public UserProperties getUser() {
        System.out.println("the user name is :" + userProperties.getName() + ",age is:" + userProperties.getAge());
        return userProperties;
    }
}
